module.exports = {
  database: {
    host: 'localhost',
    user: 'root',
    password: 'root',
    database: 'blog_system',
    waitForConnections: true,
    connectionLimit: 10,
    queueLimit: 0
  },
  server: {
    port: process.env.PORT || 3000
  },
  cors: {
    origin: 'http://localhost:5173', // Vue 开发服务器地址
    credentials: true
  }
} 